﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Tools {
	public partial class NoHScrollBar : TreeView {
		public NoHScrollBar() {
			InitializeComponent();
		}

		protected override CreateParams CreateParams {
			get {
				CreateParams cp = base.CreateParams;
				cp.Style |= 0x8000; // TVS_NOHSCROLL
				return cp;
			}
		}
	}
}
